import request from '@/utils/request'

export const customerList = function(params){
  return request({
    url: '/customer/list',
    method: 'get',
    params: params
  })
}

export const customerSubscribe = function(params){
  return request({
    url: '/customer/set_status',
    method: 'post',
    data: params
  })
}


export const customerOrderCheck = function(params){
  return request({
    url: '/customer/set_order_audit',
    method: 'post',
    data: params
  })
}

export const customerExport = function(params){
  return request({
    url: '/customer/export_url',
    method: 'get',
    params: params
  })
}


export const getCountryList = function(params){
  return request({
    url: '/customer/get_country_list',
    method: 'get',
    params: params
  })
}
